<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>随访计划</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/jquery-1.12.4.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jsplug/echarts.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
</head>
<body>
<div style="font-size: 18px; margin-right: 10px; float: right;background-color: #00acd6; border-radius: 30px; text-align: center;">
    <a href="javascript:history.back()" style="color: black;"><i class="glyphicon glyphicon-share-alt"></i>返回</a>
</div>
<div class="form-group col-sm-12">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>序号</th>
            <th>随访时间</th>
            <th>随访组</th>
            <th>科室</th>
            <th>随访状态</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${grouptables}" var="grouptables">
            <tr>
                <th>${grouptables.groupId}</th>
                <th><fmt:formatDate pattern="yyyy-MM-dd" value="${grouptables.endTime}"/></th>
                <th>${grouptables.gname}</th>
                <th>${grouptables.departments.departmentName}</th>
                <c:choose>
                    <c:when test="${grouptables.state==1}">
                        <th>已随访</th>
                    </c:when>
                    <c:otherwise>
                        <th>未随访</th>
                    </c:otherwise>
                </c:choose>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>